<template>
	<view :style="themeColor">
		<view class="page">
			<view
				class="flex flex-direction flex-wrap align-stretch justify-center benben-position-layout flex system_flex_0"
				:style="{height:(88+StatusBarRpx)+'rpx',paddingTop:StatusBarRpx+'rpx', }">
				<view class='flex flex-wrap align-stretch justify-between system_fd0_0'>
					<view class='flex flex-wrap align-center system_fd0_0_c0' @tap.stop="handleJumpDiy" data-type="back"
						data-url="1">
						<text class='fu-iconfont2  system_fd0_0_c0_c0'>&#xe794;</text>
					</view>
					<view class='flex flex-wrap align-center'>
						<text class='system_fd0_0_c1_c0'
							style="font-family: Alimama DongFangDaKai, Alimama DongFangDaKai;">帮助中心</text>
					</view>
					<view class='flex align-center justify-end system_fd0_0_c2'>
					</view>
				</view>

			</view>
			<view :style="{height: (88+StatusBarRpx)+'rpx'}"></view>
			<!---基本设置flex布局开始-->
			<view class="flex flex-direction flex-wrap align-stretch system_flex_1">
				<view class='flex flex-direction flex-wrap align-stretch system_fd1_0' @tap.stop="handleJumpDiy"
					data-type="navigateTo" :data-url="`/pages/xitongs/helpCente/helpCente`">
					<view class='flex flex-wrap align-center justify-between system_fd1_0_c0'>
						<text class='system_fd1_0_c0_c0'>账号注册</text>
						<text class='fu-iconfont2  system_fd1_0_c0_c1'>&#xE7F2;</text>
					</view>
					<view class='flex flex-wrap align-center justify-between system_fd1_0_c0'>
						<text class='system_fd1_0_c0_c0'>密码重制</text>
						<text class='fu-iconfont2  system_fd1_0_c0_c1'>&#xE7F2;</text>
					</view>
					<view class='flex flex-wrap align-center justify-between system_fd1_0_c0'>
						<text class='system_fd1_0_c0_c0'>密码修改</text>
						<text class='fu-iconfont2  system_fd1_0_c0_c1'>&#xE7F2;</text>
					</view>
					<view class='flex flex-wrap align-center justify-between system_fd1_0_c0'>
						<text class='system_fd1_0_c0_c0'>登录失败</text>
						<text class='fu-iconfont2  system_fd1_0_c0_c1'>&#xE7F2;</text>
					</view>
					<view class='flex flex-wrap align-center justify-between system_fd1_0_c0'>
						<text class='system_fd1_0_c0_c0'>账号注销</text>
						<text class='fu-iconfont2  system_fd1_0_c0_c1'>&#xE7F2;</text>
					</view>
					<view class='flex flex-wrap align-center justify-between system_fd1_0_c5'>
						<text class='system_fd1_0_c0_c0'>其他问题</text>
						<text class='fu-iconfont2  system_fd1_0_c0_c1'>&#xE7F2;</text>
					</view>
				</view>
			</view>

			<!---基本设置flex布局结束-->
			<view class="flex flex-wrap align-center justify-center benben-position-layout flex system_flex_2"
				@tap.stop="popupShow1698226473031=true">
				<button class='system_fd2_0'>退出登录</button>

			</view>
			<view :style="{height: '128rpx'}"></view>
			<benben-popup v-model="popupShow1698226473031" :mask="true" :mask-close-able="true" mode='center'
				:z-index='999'>
				<!---flex布局flex布局开始-->
				<view class="flex benben-flex-layout flex-wrap align-center">
					<view class='flex flex-direction flex-wrap align-stretch system_fd3_0'>
						<view class='flex flex-direction flex-wrap align-center'>
							<text class='system_fd3_0_c0_c0'>提示</text>
							<text class='system_fd3_0_c0_c1'>确定退出当前帐号？</text>
							<view class='flex flex-wrap align-center system_fd3_0_c0_c2'>
								<view class='flex flex-wrap align-center justify-center system_fd3_0_c0_c2_c0'
									@tap.stop="popupShow1698226473031=false">
									<text class='system_fd3_0_c0_c2_c0_c0'>取消</text>
								</view>
								<view class='flex flex-wrap align-center justify-center system_fd3_0_c0_c2_c1'
									@tap.stop="logOutFunc()">
									<text class='system_fd3_0_c0_c2_c1_c0'>确认</text>
								</view>
							</view>
						</view>
					</view>
				</view>

				<!---flex布局flex布局结束-->

			</benben-popup>
			<!-- <app-update ref="update"></app-update> -->


		</view>
	</view>
</template>
<script>
	import {
		validate
	} from '@/common/utils/validate.js'
	export default {
		components: {},


		data() {
			return {
				"popupShow1698226473031": false,
				"dataMessage": {
					"aid": "",
					"user_nickname": "",
					"user_avatar": "",
					"user_mobile": "",
					"cancel_type": "",
					"create_time": "",
					"status": "",
					"cancel_reason": "",
					"cancel_type_text": ""
				}
			};
		},
		computed: {
			themeColor() {
				return this.$store.getters.themeColor
			},
			appVersion() {
				// 获取版本号
				return this.$store.state.appVersion
			},
			appRubbishCacheSize() { // 获取缓存大小
				return this.$store.state.appRubbishCacheSize
			}
		},
		watch: {},
		onLoad(options) {

		},
		onUnload() {

		},
		onReady() {

		},
		onShow() {
			this.$store.dispatch('getAppVersion') // 更新版本号
			this.$store.dispatch('getAppCache') // 更新缓存大小
		},
		onHide() {

		},
		onResize() {

		},
		onPullDownRefresh() {

		},
		onReachBottom(e) {

		},
		onPageScroll(e) {

		},
		methods: {
			//清除缓存
			cleanUpFunc() {
				this.$store.dispatch('appClearCache')

			},
			//退出登录
			logOutFunc() {
				this.$store.commit('logout')
				this.$urouter.redirectTo(`/pages/tabBar/passwordLogin/passwordLogin`);
			},
			//APP更新
			updataFunc() {
				this.$util.debounce(
					() => {
						this.$refs.update.checkAppUpdate()
					},
					1000,
					true
				)

			},
			//获取注销状态1提交 3驳回
			async gozhuxiaoFunc() {
				let datadataDetails = await this.$api.get(global.apiUrls.post637c4deb97aa9, {
					sort_type: 'desc'
				});
				let status = datadataDetails.data.data.status
				if (datadataDetails.data.code != 1) { //如果code=0 没申请过  
					uni.navigateTo({
						url: `/pages/xtsz/CancelAccount/CancelAccount`
					})
				} else {
					uni.navigateTo({
						url: `/pages/xtsz/logOutSubmit/logOutSubmit`
					})
				}
			}
		}
	};
</script>
<style lang="scss" scoped>
	.page {
		width: 100vw;
		overflow-x: hidden;
		min-height: calc(100vh - var(--window-bottom));
		background: url(https://www.guochaoxiaoju.com/uploads/mini/691.png) no-repeat;
		background-size: 100% auto;
	}

	.system_flex_0 {
		background: url(https://www.guochaoxiaoju.com/uploads/mini/691.png) no-repeat;
		width: 750rpx;
		height: 88rpx;
		overflow: hidden;
		z-index: 10;
		top: 0rpx;
		background-size: 100% auto !important;
	}

	.system_fd0_0_c2 {
		padding: 0rpx 0rpx 0rpx 0rpx;
		width: 100rpx;
	}

	.system_fd0_0_c1_c0 {
		font-size: 40rpx;
		font-weight: 400;
		color: #FFFFFF;
	}

	.system_fd0_0_c0_c0 {
		font-size: 36rpx;
		font-weight: 400;
		color: var(--benbenFontColor3);
	}

	.system_fd0_0_c0 {
		width: 100rpx;
	}

	.system_fd0_0 {
		padding: 0rpx 32rpx 0rpx 32rpx;
		line-height: 88rpx;
	}

	.system_flex_1 {
		font-size: 32rpx;
		padding: 0rpx 30rpx 64rpx 30rpx;
	}

	.system_fd1_0_c5 {
		padding: 32rpx 0rpx 32rpx 0rpx;
	}

	.system_fd1_0_c0_c1 {
		font-size: 26rpx;
		color: rgba(191, 191, 191, 1);
	}

	.system_fd1_0_c0_c0 {
		font-size: 32rpx;
		color: var(--benbenFontColor0);
	}

	.system_fd1_0_c0 {
		border-bottom: 1px solid #eee;
		padding: 32rpx 0rpx 32rpx 0rpx;
	}

	.system_fd1_0 {
		background: #FFFFFF;
		padding: 0rpx 24rpx 0rpx 24rpx;
		background-size: 100% auto !important;
		border-radius: 16rpx 16rpx 16rpx 16rpx;
		margin: 24rpx 0rpx 0rpx 0rpx;
	}

	.system_flex_2 {
		background: #fff;
		width: 750rpx;
		height: 128rpx;
		overflow: hidden;
		z-index: 10;
		bottom: calc(0rpx + var(--window-bottom));
		background-size: 100% auto !important;
	}

	.system_fd2_0 {
		background: var(--benbenbgColor2);
		border-radius: 44rpx 44rpx 44rpx 44rpx;
		font-size: 36rpx;
		color: var(--benbenFontColor3);
		width: 690rpx;
		height: 88rpx;
		line-height: 88rpx;
		margin: 0rpx 0rpx 40rpx 0rpx;
	}

	.system_fd3_0_c0_c2_c1_c0 {
		color: #FFFFFF;
		font-size: 34rpx;
		font-weight: 400;
	}

	.system_fd3_0_c0_c2_c1 {
		background: url(https://www.guochaoxiaoju.com/uploads/mini/694.png) no-repeat;
		height: 71rpx;
		width: 191rpx;
		margin: 0rpx 0rpx 0rpx 16rpx;
		background-size: 100% auto;
	}

	.system_fd3_0_c0_c2_c0_c0 {
		color: #796446;
		font-size: 34rpx;
		font-weight: 400;
	}

	.system_fd3_0_c0_c2_c0 {
		background: url(https://www.guochaoxiaoju.com/uploads/mini/693.png) no-repeat;
		height: 71rpx;
		width: 191rpx;
		margin: 0rpx 16rpx 0rpx 0rpx;
		background-size: 100% auto;
	}

	.system_fd3_0_c0_c2 {
		margin: 0rpx 0rpx 70rpx 0rpx;
	}

	.system_fd3_0_c0_c1 {
		line-height: 44rpx;
		font-size: 32rpx;
		font-weight: 400;
		color: #333333;
		margin: 40rpx 0rpx 72rpx 0rpx;
		text-align: center;
	}

	.system_fd3_0_c0_c0 {
		color: #333333;
		font-size: 40rpx;
		font-weight: 400;
		margin: 190rpx 0rpx 0rpx 0rpx;
	}

	.system_fd3_0 {
		background: url(https://www.guochaoxiaoju.com/uploads/mini/692.png) no-repeat;
		width: 580rpx;
		background-size: 100% auto;
	}
</style>